/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2021-07-03     ThinkPad       the first version
 */
#ifndef APPLICATIONS_ConfigInit_H_
#define APPLICATIONS_ConfigInit_H_

#include <rtdef.h>
#include <../utils/cJSON.h>

int ConfigInit();

//int g_fdConfig;

void* getComConfigRoot();

rt_bool_t updateRoot();

rt_bool_t updateFile(cJSON * config);

#endif /* APPLICATIONS_ConfigInit_H_ */
